from myelin.Ns import MYELIN, DC

from myelin.rdf.bindery.ObjectTypes import LiteralTypeO

from Resource import Resource

from mappings import \
    BaseMap

from ObjectTypes import \
    SourceFileTypeO, SourceFileTypeS

class SourceFile(Resource):
    
    ModelTypes = (SourceFileTypeO, SourceFileTypeS)
     
    RDF_BINDINGS = {
        'dcFormat'          : ((DC, 'format'), LiteralTypeO, BaseMap),
    }

    
CLASS_TYPES = {
    MYELIN + 'SourceFile' : SourceFile,
}